package com.hzqdn.monsterpost.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzqdn.monstermodel.entity.post.PostViews;

public interface PostViewsService extends IService<PostViews> {
    /**
     * 增加题目浏览量
     */
    boolean addPostViews(Long postId);

    /**
     * 获取题目浏览量
     */
    long getPostViews(Long postId);
}
